package com.echat.serviceapigateway.security.model.network;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Builder;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.time.LocalDateTime;

/**
 * Created by chenmohan on 2018/09/05
 *
 * @description IP白名单
 */
@Data
@Builder
public class AccessIp {
    @Id
    private Long id;

    private Long userId;

    private String ips;

    @Column(name = "create_datetime")
    @JsonIgnore
    private LocalDateTime createTime;

    @Column(name = "modify_datetime")
    @JsonIgnore
    private LocalDateTime modifyTime;

}
